<?php
//com:base
return [
    'amount' => '/^\d+(\.\d{1,2})?$/',
    'pwdReg' => '/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[~!@#$%^&*])[A-Za-z\d~!@#$%^&*]{8,10}/',
    'pwdTip' => '密码格式错误',
    'mobileReg`' => '/^1[3-9]\d{9}$/',
    'mobileTip' => '手机号码错误',
    'hzReg' => '/^[\x{4e00}-\x{9fa5}]+$/u',
    'base64ImgReg' => '/^(data:\s*image\/(\w+);base64,)/',
    'sellerIdReg' => '/^[1-9]\d{0,3}$/',
    'bankReg' => '/^([1-9]{1})(\d{15}|\d{18})$/',
    'hzTip' => '姓名格式错误',
    'idNumReg' => '/^\d{17}[\dXx]$/',
    'idNumTip' => '身份证号码格式错误',
    'priceReg' => '/^\d+(\.\d{1,2})?$/',
    'priceTip' => '价格格式错误',
    'expressNoReg' => '/^[a-zA-Z0-9]{1,20}$/',
    'expressNoTip' => '字符串格式错误',
    'nicknameReg' => '/^[a-zA-Z0-9\x{4e00}-\x{9fa5}]+$/u',
    'inviteCodeReg' => '/^[a-zA-Z0-9]{6}$/',
    'codeReg' => '/^[0-9a-zA-Z-]{32}$/',
    'phoneCodeReg' => '/^[0-9a-z]{64}$/',
    'md5Reg' => '/^[0-9a-z]{32}$/',
    'unionidReg' => '/^[0-9a-zA-Z_-]{28}$/',
    'openidReg' => '/^[0-9a-zA-Z_-]{28}$/',
    'codeMobileReg' => '/^[0-9a-z]{64}$/',
    'registrationIdReg' => '/^[0-9a-z]{10,20}$/',
    'codeTip' => '%s:格式错误',
    'numReg' => '/^[0-9]+$/',
    'numTip' => '%s:格式错误',
    'serialNumberReg' => '/^[0-9]{20}$/',
    'serialNumberTip' => '序列号错误',
    'licenceCodeReg' => '/^[A-Z0-9]{18}$/',
    'licenceCodeTip' => '统一社会信用代码格式错误:18数字或大写字母',
    'defaultImg' => '00000000000000000000',
    'ip' => "/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/",
];
